package com.platform.qujia.dao;

import com.platform.qujia.pojo.CustomerElectronicCard;
import com.platform.qujia.pojo.CustomerElectronicDeputyCard;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CustomerElectronicDeputyCardMapper {
    int deleteByPrimaryKey(Long id);

    int insertSelective(CustomerElectronicDeputyCard record);

    CustomerElectronicDeputyCard selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CustomerElectronicDeputyCard record);

    int updateById(CustomerElectronicDeputyCard record);

    List<CustomerElectronicDeputyCard> selectElectronicDeputyCardList(CustomerElectronicDeputyCard customerElectronicDeputyCard);

    CustomerElectronicDeputyCard selectElectronicDeputyCard(CustomerElectronicDeputyCard customerElectronicDeputyCard);

    CustomerElectronicDeputyCard selectElectronicDeputyCardByUserId(CustomerElectronicDeputyCard customerElectronicDeputyCard);

    CustomerElectronicDeputyCard selectElectronicDeputyCardById(@Param("id") Long id);
}